CREATE PROCEDURE coreWFProcessStartGetNextRankForProcessID
(
	@id					int
)
AS
BEGIN

	SELECT MAX(Rank) AS LastRank FROM WFProcessStart WHERE FK_ProcessID=@id;

END
